package com.quick.develop.business.convert;

import com.quick.develop.business.entity.EnvironmentalHiddenDangerEntity;
import com.quick.develop.business.vo.EnvironmentalHiddenDangerVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 环境隐患排查信息
*
* @author GJH 1906559468@qq.com
* @since 1.0.0 2024-01-27
*/
@Mapper
public interface EnvironmentalHiddenDangerConvert {
    EnvironmentalHiddenDangerConvert INSTANCE = Mappers.getMapper(EnvironmentalHiddenDangerConvert.class);

    EnvironmentalHiddenDangerEntity convert(EnvironmentalHiddenDangerVO vo);

    EnvironmentalHiddenDangerVO convert(EnvironmentalHiddenDangerEntity entity);

    List<EnvironmentalHiddenDangerVO> convertList(List<EnvironmentalHiddenDangerEntity> list);

}